package com.sena.crawler.rundata;

import com.sena.crawler.domian.Link;

/**
 * run data
 *
 * @author seven-12-14 11:40:50
 */
public abstract class RunData {

    /**
     * add link
     *
     * @param link
     * @return boolean
     */
    public abstract boolean addUrl(Link link);

    /**
     * get link, remove from unVisitedUrlQueue and add to visitedUrlSet
     *
     * @return String
     */
    public abstract Link getUrl();

    /**
     * get url num
     *
     * @return int
     */
    public abstract Long getUrlNum();


    public abstract boolean isFind(Link link);



}
